---
layout: nil
---
@model Pretzel.Logic.Templating.Context.PageContext
<?xml version="1.0" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
    <title>Feed Name</title>
    <link>http://domain/</link>
    <atom:link href="http://domain/rss.xml" rel="self" type="application/rss+xml" />
    <description></description>
    <language>en-au</language>
    <pubDate>@Model.Site.Time.ToString("ddd, dd MMM Y H:mm:ss K")</pubDate>
    <lastBuildDate>@Model.Site.Time.ToString("ddd, dd MMM Y H:mm:ss K")</lastBuildDate>

    @foreach (var post in Model.Site.Posts)
    {
        <item>
            <title>@post.Title</title>
            <link>http://domain@post.Url</link>
            <pubDate>@post.Date.ToString("ddd, dd MMM Y H:mm:ss K")</pubDate>
            <author>Author</author>
            <guid>http://domain@post.Url</guid>
            <description>@post.Content</description>
        </item>
    }

  </channel> 
</rss>
